home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / snip1292.zip / STRAT.H < prev    next >
Text File  |  1992-12-26  |  454b  |  23 lines

  1. /*
  2. **  strat.h 10-5-91  Robert Mashlan, public domain
  3. **
  4. **  header file for strat.c
  5. **
  6. */
  7.  
  8. const enum {
  9.     FIRST_FIT_LOW,
  10.     BEST_FIT_LOW,
  11.     LAST_FIT_LOW,
  12.     FIRST_FIT_HIGH = 0x80, /* these strategies available only in DOS 5.0 */
  13.     BEST_FIT_HIGH,
  14.     LAST_FIT_HIGH,
  15.     FIRST_FIT_HIGHONLY = 0x40,
  16.     BEST_FIT_HIGHONLY,
  17.     LAST_FIT_HIGHONLY
  18.     };
  19.  
  20. int get_alloc_strat(void);
  21. int set_alloc_strat( int strat );
  22. int set_handle_count( unsigned nhandles );
  23.